{"ast":null,"code":"import _defineProperty from \"/Users/poppie/Desktop/development/messenger/app/frontend/node_modules/@babel/runtime/helpers/esm/defineProperty.js\";\nvar genDraggerStyle = function genDraggerStyle(token) {\n  var _$concat2;\n  var componentCls = token.componentCls,\n    iconCls = token.iconCls;\n  return _defineProperty({}, \"\".concat(componentCls, \"-wrapper\"), _defineProperty({}, \"\".concat(componentCls, \"-drag\"), (_$concat2 = {\n    position: 'relative',\n    width: '100%',\n    height: '100%',\n    textAlign: 'center',\n    background: token.colorFillAlter,\n    border: \"\".concat(token.lineWidth, \"px dashed \").concat(token.colorBorder),\n    borderRadius: token.borderRadiusLG,\n    cursor: 'pointer',\n    transition: \"border-color \".concat(token.motionDurationSlow)\n  }, _defineProperty(_$concat2, componentCls, {\n    padding: \"\".concat(token.padding, \"px 0\")\n  }), _defineProperty(_$concat2, \"\".concat(componentCls, \"-btn\"), {\n    display: 'table',\n    width: '100%',\n    height: '100%',\n    outline: 'none'\n  }), _defineProperty(_$concat2, \"\".concat(componentCls, \"-drag-container\"), {\n    display: 'table-cell',\n    verticalAlign: 'middle'\n  }), _defineProperty(_$concat2, \"&:not(\".concat(componentCls, \"-disabled):hover\"), {\n    borderColor: token.colorPrimaryHover\n  }), _defineProperty(_$concat2, \"p\".concat(componentCls, \"-drag-icon\"), _defineProperty({\n    marginBottom: token.margin\n  }, iconCls, {\n    color: token.colorPrimary,\n    fontSize: token.uploadThumbnailSize\n  })), _defineProperty(_$concat2, \"p\".concat(componentCls, \"-text\"), {\n    margin: \"0 0 \".concat(token.marginXXS, \"px\"),\n    color: token.colorTextHeading,\n    fontSize: token.fontSizeLG\n  }), _defineProperty(_$concat2, \"p\".concat(componentCls, \"-hint\"), {\n    color: token.colorTextDescription,\n    fontSize: token.fontSize\n  }), _defineProperty(_$concat2, \"&\".concat(componentCls, \"-disabled\"), _defineProperty({\n    cursor: 'not-allowed'\n  }, \"p\".concat(componentCls, \"-drag-icon \").concat(iconCls, \",\\n            p\").concat(componentCls, \"-text,\\n            p\").concat(componentCls, \"-hint\\n          \"), {\n    color: token.colorTextDisabled\n  })), _$concat2)));\n};\nexport default genDraggerStyle;","map":{"version":3,"names":["genDraggerStyle","token","componentCls","iconCls","position","width","height","textAlign","background","colorFillAlter","border","lineWidth","colorBorder","borderRadius","borderRadiusLG","cursor","transition","motionDurationSlow","padding","display","outline","verticalAlign","borderColor","colorPrimaryHover","marginBottom","margin","color","colorPrimary","fontSize","uploadThumbnailSize","marginXXS","colorTextHeading","fontSizeLG","colorTextDescription","colorTextDisabled"],"sources":["/Users/poppie/Desktop/development/messenger/app/frontend/node_modules/antd/es/upload/style/dragger.js"],"sourcesContent":["const genDraggerStyle = token => {\n  const {\n    componentCls,\n    iconCls\n  } = token;\n  return {\n    [`${componentCls}-wrapper`]: {\n      [`${componentCls}-drag`]: {\n        position: 'relative',\n        width: '100%',\n        height: '100%',\n        textAlign: 'center',\n        background: token.colorFillAlter,\n        border: `${token.lineWidth}px dashed ${token.colorBorder}`,\n        borderRadius: token.borderRadiusLG,\n        cursor: 'pointer',\n        transition: `border-color ${token.motionDurationSlow}`,\n        [componentCls]: {\n          padding: `${token.padding}px 0`\n        },\n        [`${componentCls}-btn`]: {\n          display: 'table',\n          width: '100%',\n          height: '100%',\n          outline: 'none'\n        },\n        [`${componentCls}-drag-container`]: {\n          display: 'table-cell',\n          verticalAlign: 'middle'\n        },\n        [`&:not(${componentCls}-disabled):hover`]: {\n          borderColor: token.colorPrimaryHover\n        },\n        [`p${componentCls}-drag-icon`]: {\n          marginBottom: token.margin,\n          [iconCls]: {\n            color: token.colorPrimary,\n            fontSize: token.uploadThumbnailSize\n          }\n        },\n        [`p${componentCls}-text`]: {\n          margin: `0 0 ${token.marginXXS}px`,\n          color: token.colorTextHeading,\n          fontSize: token.fontSizeLG\n        },\n        [`p${componentCls}-hint`]: {\n          color: token.colorTextDescription,\n          fontSize: token.fontSize\n        },\n        // ===================== Disabled =====================\n        [`&${componentCls}-disabled`]: {\n          cursor: 'not-allowed',\n          [`p${componentCls}-drag-icon ${iconCls},\n            p${componentCls}-text,\n            p${componentCls}-hint\n          `]: {\n            color: token.colorTextDisabled\n          }\n        }\n      }\n    }\n  };\n};\nexport default genDraggerStyle;"],"mappings":";AAAA,IAAMA,eAAe,GAAG,SAAlBA,eAAe,CAAGC,KAAK,EAAI;EAAA;EAC/B,IACEC,YAAY,GAEVD,KAAK,CAFPC,YAAY;IACZC,OAAO,GACLF,KAAK,CADPE,OAAO;EAET,qCACMD,YAAY,6CACVA,YAAY;IACdE,QAAQ,EAAE,UAAU;IACpBC,KAAK,EAAE,MAAM;IACbC,MAAM,EAAE,MAAM;IACdC,SAAS,EAAE,QAAQ;IACnBC,UAAU,EAAEP,KAAK,CAACQ,cAAc;IAChCC,MAAM,YAAKT,KAAK,CAACU,SAAS,uBAAaV,KAAK,CAACW,WAAW,CAAE;IAC1DC,YAAY,EAAEZ,KAAK,CAACa,cAAc;IAClCC,MAAM,EAAE,SAAS;IACjBC,UAAU,yBAAkBf,KAAK,CAACgB,kBAAkB;EAAE,8BACrDf,YAAY,EAAG;IACdgB,OAAO,YAAKjB,KAAK,CAACiB,OAAO;EAC3B,CAAC,wCACGhB,YAAY,WAAS;IACvBiB,OAAO,EAAE,OAAO;IAChBd,KAAK,EAAE,MAAM;IACbC,MAAM,EAAE,MAAM;IACdc,OAAO,EAAE;EACX,CAAC,wCACGlB,YAAY,sBAAoB;IAClCiB,OAAO,EAAE,YAAY;IACrBE,aAAa,EAAE;EACjB,CAAC,8CACSnB,YAAY,uBAAqB;IACzCoB,WAAW,EAAErB,KAAK,CAACsB;EACrB,CAAC,yCACIrB,YAAY;IACfsB,YAAY,EAAEvB,KAAK,CAACwB;EAAM,GACzBtB,OAAO,EAAG;IACTuB,KAAK,EAAEzB,KAAK,CAAC0B,YAAY;IACzBC,QAAQ,EAAE3B,KAAK,CAAC4B;EAClB,CAAC,0CAEE3B,YAAY,YAAU;IACzBuB,MAAM,gBAASxB,KAAK,CAAC6B,SAAS,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